wayland: Add xdg-output v3 support
authorOlivier Fourdan <ofourdan@redhat.com>
Fri, 26 Jul 2019 15:07:58 +0000 (17:07 +0200)
committerOlivier Fourdan <ofourdan@redhat.com>
Fri, 26 Jul 2019 15:32:17 +0000 (17:32 +0200)
commit795899f9d5583a163e6a61057d079ae6db393bb9
tree0c9fef9bab962156894c19ec8fd4a653937ee445
parent88ab3a69428f410a1e2a9fdd08b52990dfb015f7
wayland: Add xdg-output v3 support

xdg-output v3 marks xdg-output.done as deprecated and compositors are
not required to send that event anymore.

So if the xdg-output version is 3 or higher, simply set the initial
value `xdg_output_done` to TRUE so we don't wait/expect that event
from the compositor.

https://gitlab.gnome.org/GNOME/gtk/issues/2053
gdk/wayland/gdkdisplay-wayland.c